package com.template.server.common.exception;

import lombok.Getter;

/**
 * @author liuxf
 * @date 2024/4/12
 * 系统错误
 */
@Getter
public class SystemErrorException extends RuntimeException {

    private int statusCode = 500;

    public SystemErrorException() {
        super();
    }

    public SystemErrorException(String message) {
        super(message);
    }

    public SystemErrorException(String message, int statusCode) {
        super(message);
        this.statusCode = statusCode;
    }

}
